public class Materiales

   private _codmaterial as Int32
   public property codmaterial() as Int32
       get
           return _codmaterial
       end get

       set(byval value as Int32)
           _codmaterial = value
       end set
   end property

   private _codtipomaterial as Int32
   public property codtipomaterial() as Int32
       get
           return _codtipomaterial
       end get

       set(byval value as Int32)
           _codtipomaterial = value
       end set
   end property

   private _descmaterial as String
   public property descmaterial() as String
       get
           return _descmaterial
       end get

       set(byval value as String)
           _descmaterial = value
       end set
   end property

   private _cantexistente as Int32
   public property cantexistente() as Int32
       get
           return _cantexistente
       end get

       set(byval value as Int32)
           _cantexistente = value
       end set
   end property

   private _preciocompra as Decimal
   public property preciocompra() as Decimal
       get
           return _preciocompra
       end get

       set(byval value as Decimal)
           _preciocompra = value
       end set
   end property

   private _precioventa as Decimal
   public property precioventa() as Decimal
       get
           return _precioventa
       end get

       set(byval value as Decimal)
           _precioventa = value
       end set
   end property

   private _unimedida as Int32
   public property unimedida() as Int32
       get
           return _unimedida
       end get

       set(byval value as Int32)
           _unimedida = value
       end set
   end property

   private _codproveedor as Int32
   public property codproveedor() as Int32
       get
           return _codproveedor
       end get

       set(byval value as Int32)
           _codproveedor = value
       end set
   end property

end class
